Package com.cisco.pt.ipc.sim
Interface OSPFMainProcess
- All Known Implementing Classes:
OSPFMainProcessImpl
Information provided by the PKI file:
\class OspfMainProcess
\brief OspfMainProcess is the main process that handles all OSPF processes.
\example network().getDevice("Router0").getProcess("OspfMainProcess")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddOspfProcess(int id) Information provided by the PKI file:getOspfProcess(int id) Information provided by the PKI file:getOspfProcessAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleanremoveOspfProcess(int id) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
addOspfProcess
boolean addOspfProcess(int id) Information provided by the PKI file:
\brief Adds an OSPF process with the specified ID. \param id, the ID for the OSPF process. \return bool, true if successful, otherwise false.- Parameters:
id- Takes in a parameter of id- Returns:
- boolean Returns a boolean
-
removeOspfProcess
boolean removeOspfProcess(int id) Information provided by the PKI file:
\brief Removes the OSPF process with the specified ID. \param id, the ID of the OSPF process. \return bool, true if successful, otherwise false.- Parameters:
id- Takes in a parameter of id- Returns:
- boolean Returns a boolean
-
getOspfProcessAt
Information provided by the PKI file:
\brief Returns the OSPF process at the specified index. \param index, the index of the OSPF process of interest. \return Process, the Process object at the specified index.- Parameters:
index- Takes in a parameter of index- Returns:
- Process Returns a Process
-
getOspfProcess
Information provided by the PKI file:
\brief Returns the OSPF process with the specified ID. \param id, the ID of the OSPF process of interest. \return Process, the Process object with the specified ID.- Parameters:
id- Takes in a parameter of id- Returns:
- Process Returns a Process
-
getOspfProcessCount
int getOspfProcessCount()Information provided by the PKI file:
\brief Returns the number of OSPF processes. \return int, the number of OSPF processes.- Returns:
- int Returns a int
-